package com.zhuanzhuan.hero.user.vo;

import com.bj58.zhuanzhuan.zzarch.common.desensitize.Desensitize;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @ClassName StoreVO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/21 15:50
 */
@Data
@Accessors(chain = true)
public class UserStoreVO {

    /**
     * 店铺名称  最大15字
     */
    @Size(max = 15)
    private String storeName;

    /**
     * 店铺照片 最多9张
     */
    @Size(max = 9)
    private List<String> storePhotos;

    /**
     * 省id
     */
    private Integer provinceId;

    /**
     * 省名称
     */
    private String provinceName;

    /**
     * 市id
     */
    private Integer cityId;

    /**
     * 市id
     */
    private String cityName;

    /**
     * 区id
     */
    private Integer countryId;

    /**
     * 区id
     */
    private String countryName;

    /**
     * 详细地址  最大50字
     */
    @NotBlank(message = "详细地址必填")
    @Size(min = 1, max = 50, message = "详细地址长度须1-50")
    @Desensitize
    private String address;
}
